package com.kele.pojo;

/**
 * @Description: subject实体类
 * @Author: Kele
 * @CreateDate: 2021/7/2 9:18
 * @Version:
 */
public class Subject {
    private long subjectNo;
    private String subjectName;
    private int classHour;
    private int gradeId;

    public Subject() {
    }

    public Subject(long subjectNo, String subjectName, int classHour, int gradeId) {
        this.subjectNo = subjectNo;
        this.subjectName = subjectName;
        this.classHour = classHour;
        this.gradeId = gradeId;
    }

    public long getSubjectNo() {
        return subjectNo;
    }

    public void setSubjectNo(long subjectNo) {
        this.subjectNo = subjectNo;
    }

    public String getSubjectName() {
        return subjectName;
    }

    public void setSubjectName(String subjectName) {
        this.subjectName = subjectName;
    }

    public int getClassHour() {
        return classHour;
    }

    public void setClassHour(int classHour) {
        this.classHour = classHour;
    }

    public int getGradeId() {
        return gradeId;
    }

    public void setGradeId(int gradeId) {
        this.gradeId = gradeId;
    }

    @Override
    public String toString() {
        return "Subject{" +
                "subjectNo=" + subjectNo +
                ", subjectName='" + subjectName + '\'' +
                ", classHour=" + classHour +
                ", gradeId=" + gradeId +
                '}';
    }
}
